REReplace(string, reg_expression, substring [, scope ])


Returns string with a regular expression being replaced with substring in the specified scope. This is a case-sensitive search.

See also REFind, Replace, ReplaceList, and REReplaceNoCase.

string

Any string.

reg_expression

Regular expression to be replaced. This regular expression can include POSIX- specified character classes (for example, [:alpha:], [:digit:], [:upper:], and [:lower:]).

substring

String replacing reg_expression.

scope

Defines how to complete the replace operation: